<?php

class Application_Form_PessoaForm extends Zend_Form
{

	public function init()
	{
		$this->setAction('')
		->setMethod('Post');
			
		$nome = $this->createElement('text','PES_DESC',array('label'=>'NOME:'));
		$nome->setRequired(true);

		//$data_cadastro = date('Y-m-d');

		$obs = $this->createElement('text','PES_OBS',array('label'=>'OBS:'));

		$fone = $this->createElement('text','PES_FONE',array('label'=>'FONE'));

		$celular = $this->createElement('text','PES_CEL',array('label'=>'CELULAR:'));

		$this->addElement($nome);
		$this->addElement($obs);
		$this->addElement($fone);
		$this->addElement($celular);
		
		$this->addDisplayGroup(array($nome->getName(),$obs->getName(),$fone->getName(),$celular->getName()),'gp_pessoaffd');

			
	}


}

